Drop dead uuid code.
authorrobertlipe <robertlipe@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Fri, 23 Aug 2013 03:57:59 +0000 (03:57 +0000)
committerrobertlipe <robertlipe@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Fri, 23 Aug 2013 03:57:59 +0000 (03:57 +0000)
gpsbabel/Makefile.in
gpsbabel/uuid.cc [deleted file]

index e9ba7aaff2684c9de6c9a8d90fe9f89454d5074b..283020707f03086a6eee0645b0bfe645ae3ba4eb 100644 (file)
@@ -110,7 +110,7 @@ ZLIB=zlib/adler32.o zlib/compress.o zlib/crc32.o zlib/deflate.o zlib/inffast.o \
 
 LIBOBJS = queue.o route.o waypt.o filter_vecs.o util.o vecs.o mkshort.o \
           csv_util.o strptime.o grtcirc.o vmem.o util_crc.o xmlgeneric.o \
-          uuid.o formspec.o xmltag.o cet.o cet_util.o fatal.o rgbcolors.o \
+          formspec.o xmltag.o cet.o cet_util.o fatal.o rgbcolors.o \
          inifile.o garmin_fs.o gbsleep.o units.o @GBSER@ gbser.o \
          gbfile.o parse.o session.o \
        $(PALM_DB) $(GARMIN) $(JEEPS) $(SHAPE) @ZLIB@ $(FMTS) $(FILTERS)
@@ -1046,7 +1046,6 @@ util.o: util.cc defs.h config.h queue.h zlib/zlib.h zlib/zconf.h gbfile.h \
   jeeps/gpsprot.h jeeps/gpscom.h jeeps/gpsfmt.h jeeps/gpsmem.h \
   jeeps/gpsrqst.h jeeps/gpsinput.h jeeps/gpsproj.h
 util_crc.o: util_crc.cc
-uuid.o: uuid.cc uuid.h
 v900.o: v900.cc defs.h config.h queue.h zlib/zlib.h zlib/zconf.h gbfile.h \
   cet.h cet_util.h inifile.h session.h src/core/datetime.h
 vcf.o: vcf.cc defs.h config.h queue.h zlib/zlib.h zlib/zconf.h gbfile.h \
diff --git a/gpsbabel/uuid.cc b/gpsbabel/uuid.cc
deleted file mode 100644 (file)
index d4c01c6..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
-    Copyright (C) 2004 Justin Broughton, justinbr@earthlink.net
-
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
-
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software
-    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA
-
- */
-
-#include "uuid.h"
-#include <stdlib.h>
-
-void
-gb_uuid_generate(uuid_t uu)
-{
-  unsigned char* cp;
-  int i;
-  for (cp = uu, i = 0; i < 16; i++) {
-    if (getenv("GPSBABEL_FREEZE_TIME")) {
-      static unsigned char blech = 0;
-      *cp++ = blech++;
-    } else {
-      *cp++ ^= (rand() >> 7) & 0xFF;
-    }
-  }
-}
-